import http from './httpInstance'


// 数据目录列表
function getsjmlList(params) {
    return http({
        method: 'post',
        url: '/data-center/datacatalog/qrylist',
        data: params
    })
}

// 获取详细信息

function getsjmlDetail(params) {
    return http({
        method: 'post',
        url: '/data-center/datacatalog/qrydetail/overview',
        data: params
    })
}

// 修改数据目录：基本信息

function updatesjml(params) {
    return http({
        method: 'post',
        url: '/data-center/datacatalog/qrydetail/updobjdesc',
        data: params
    })
}

// 数据目录详情：字段信息

function getsjmlField(params) {
    return http({
        method: 'post',
        url: '/data-center/datacatalog/qrydetail/itemlist',
        data: params
    })
}

// 数据目录：编辑字段信息

function updatesjmlField(params) {
    return http({
        method: 'post',
        url: '/data-center/datacatalog/qrydetail/upditems',
        data: params
    })
}

// 数据目录： 追加数据

function addsjmldetailData(params) {
    return http({
        method: 'post',
        url: '/data-center/datacatalog/qrydetail/adddata',
        data: params
    })
}


export { getsjmlList, getsjmlDetail, updatesjml, getsjmlField, updatesjmlField, addsjmldetailData }
